<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .box{
            width: 50%;
            height: 300px;
            border: solid 1rem orange;
            /* border-image: url(border-image.png) 27/1rem/.5rem round; */
            
            border-image-source: url(border-image.png);
            border-image-slice: 27;
            border-image-width: 1rem;
            border-image-outset: .5rem;
            border-image-repeat: round;
           
        }
    </style>
</head>
<body>
    <div class="box">

    </div>
</body>
</html>